package com.frank.stock4j.tusharepro.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import java.time.LocalDate;
import com.frank.stock4j.tusharepro.bean.ForecastBean;

/**
* 描述：获取业绩预告数据
* @author: codesmith
**/
@Data
@TableName("forecast")
public class ForecastEntity implements ForecastBean {
    
    /*
    * TS股票代码
    */
    @TableId
    @TableField("`ts_code`") protected String tsCode;

    @TableField("`ann_date`") protected LocalDate annDate;
    /*
    * 报告期
    */
    @TableId
    @TableField("`end_date`") protected LocalDate endDate;

    @TableField("`type`") protected String type;

    @TableField("`p_change_min`") protected Double pChangeMin;

    @TableField("`p_change_max`") protected Double pChangeMax;

    @TableField("`net_profit_min`") protected Double netProfitMin;

    @TableField("`net_profit_max`") protected Double netProfitMax;

    @TableField("`last_parent_net`") protected Double lastParentNet;

    @TableField("`first_ann_date`") protected LocalDate firstAnnDate;

    @TableField("`summary`") protected String summary;

    @TableField("`change_reason`") protected String changeReason;
}